﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Utility;

namespace MyGestures
{
    [Serializable]
    public struct MouseStruct
    {
        [XmlElement]
        public System.Drawing.Point Point;

        [XmlAttribute]
        public double Distance;

        [XmlArray]
        public List<MouseStructItem> MouseItem;
    }

    [Serializable]
    public struct MouseStructItem
    {
        [XmlAttribute]
        public WinAPI.VK Vk;

        [XmlAttribute]
        public WinAPI.KeyEvent KeyEvent;
    }
}
